home *** CD-ROM | disk | FTP | other *** search
- /*
- * ProIcon: Code resource to return the current resource file.
- *
- * This code resource will appear under the resource type 'CODE', ID 1003,
- * name "CurResFile". Invoke with:
- *
- * resFile := callout("CODE","CurResFile")
- *
- * resFile is a simple integer. The function always succeeds.
- */
-
- #include "ProIcon.h"
-
- pascal dptr main(dargv, argc, ip, callback)
- dptr dargv;
- short int argc;
- short int *ip;
- pointer (*callback)();
- {
- MakeInt(CurResFile(), &Arg0);
- Return;
- }
-